#include "StdAfx.h"
#include "StringUtility.h"

std::vector<std::wstring> StringUtility::Split(const std::wstring &text, wchar_t delim)
{
	std::wstringstream ss(text);
	std::vector<std::wstring> items;
	std::wstring item;
	while (std::getline(ss, item, delim))
	{
		items.push_back(item);
	}
	return items;
}
